if((retcode = getaddrinfo(host, service, &hints, &result)) != 0){
	fprintf(stderr, "getaddrinfo error: %s\n", gai_strerror(retcode));
	exit(0);
}
